import fetch from 'common/src/utils/fetch'
import UTILS from "common/src/utils/utils";
function getScoreRecordMethods(data){//获取成绩记录方式
    return fetch ({
        url:'/api/scoremanagementservice/scoreEnterAffirm/queryScoreEnterAffirmBachelor',
        method:'post',
        data
    })
}
function getScopeTypeList(data){
    return fetch({
        url:'/api/scoremanagementservice/scoreSettingController/queryScoreRecord?coretypeCode='+data+'&projectId=1',
        method:'get'
    })
}
function  queryStudentCourseInfo(id){//查询学生信息
    return fetch ({
        url:'/api/scoremanagementservice/scoreMaintenance/queryStudentInfoByCode?studentCode='+id+'&projectId=1',
        method:'get',
    })
}
function addScore(data){//添加成绩
    return fetch ({
        url:'/api/scoremanagementservice/enterScoreController/batchEnterTotalResultBachelor',
        method:'post',
        data
    })
}

export default{
    getScoreRecordMethods,
    queryStudentCourseInfo,
    getScopeTypeList,
    addScore
}